package com.xiaomaoguai.jdk.concurent.future;

import java.util.concurrent.Callable;

/**
 * @Description :
 * @FileName: RealData.java
 * @Author :WeiHui.Zhang
 * @Data : 2015年6月30日 上午10:08:45
 * @Version:V1.00
 */
public class RealData implements Callable<String> {

	private String para;

	public RealData(String para) {
		this.para = para;
	}

	@Override
	public String call() throws Exception {
		StringBuffer sb = new StringBuffer();
		for (int i = 0; i < 10; i++) {
			sb.append(para);

			Thread.sleep(100);

		}
		return sb.toString();
	}

}
